package com.atguigu.staservice.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @Author zhaolie
 * @Date 2021/1/4 2:05 下午
 * @Version 1.0
 * @Description
 */

@Component
@FeignClient("service-ucenter")
public interface UcenterClient {
    @GetMapping("/educenter/ucenter/countRegister/{day}")
    public Integer countRegister(@PathVariable("day") String day);
}
